function show(){
	//get notice_id
	var noticeId = getQueryString("notice_id");
	if(noticeId==null||noticeId==""){
		window.location.href="/edu/notice/index.html";
	}else{
	//get notice data
		getNotcieInfo(noticeId);
	
	//get left data
	/*====get teacher info====*/
	/*
	$.ajax( {
		url: "/edu/teacher/getTeacherInfo",
		type: "POST",
		data: {
			count: 3
		},
		dataType: "json",
		async: false,
		success: function(data) {
			if (data.status) {
				$.each(data.teacherInfo, function(i, item) {
					$("#t" + i).css("background", "url(" + item.photoPath + ")");
					$("#t" + i + " > span").innerHTML = item.name + "<br />" + item.edubg;
					$("#t" + i + " > a").attr("href", "/edu/teacher/teacherInfo.html?teacher_id=" + item.teacherId);
				});
			} else {

			}
		}
	});
	*/
	getTeacherList(3);
	}
}

function getNotcieInfo(noticeId){
	$.ajax( {
		url: "/edu/notice/getNoticeInfo",
		type: "POST",
		data: {
			notice_id:noticeId
		},
		dataType: "json",
		async: false,
		success: function(data) {
			if (data.status) {
					$("#noticeTitle").html(data.title);
					$("#noticeTime").html(data.create_time);
					$("#noticeAuthor").html(data.author);
					$("#noticeDesc").html(data.content);
				
			} else {

			}
		}
	});
}
